﻿using System.Net.Sockets;
/// <summary>
/// 描述服务端的对象
/// </summary>
public class ServerState
{
    /// <summary>
    /// 服务端socket
    /// </summary>
    public Socket socket;
    /// <summary>
    /// 服务端的缓冲区
    /// </summary>
    public ByteArray readBuffer = new ByteArray();
    /// <summary>
    /// 服务器类型
    /// </summary>
    public Gateway.ServerType serverType;
    /// <summary>
    /// udp通信
    /// </summary>
    public UdpClient udpClient;
}

